package com.nancy.java_design.memento.whitebox;

public class MementoManage {
    private Integer vit;// 生命力
    private Integer def;//防御力
    private Integer power;//攻击力

    public MementoManage(Integer vit, Integer def, Integer power) {
        this.vit = vit;
        this.def = def;
        this.power = power;
    }

    public Integer getVit() {
        return vit;
    }

    public void setVit(Integer vit) {
        this.vit = vit;
    }

    public Integer getDef() {
        return def;
    }

    public void setDef(Integer def) {
        this.def = def;
    }

    public Integer getPower() {
        return power;
    }

    public void setPower(Integer power) {
        this.power = power;
    }
}
